home *** CD-ROM | disk | FTP | other *** search
/ TPUG - Toronto PET Users Group / TPUG Users Group CD / TPUG Users Group CD.iso / CRS / crs47.d81 / 65c02op.seq < prev    next >
Text File  |  2009-10-10  |  3KB  |  120 lines

  1. @%Enclosed in the following short article is a short description of the R65C02 Microprocessor made by Rockwell. For those 8 bitters who are looking for a cheap upgrade to a pet or those 64/128 owners who want a few extra commands to their microprocessor.(note that the pins of an 6502 are not compatible to an 6510 or a 8502). This information is handed out by Rockwell and is in the public domain.
  2.  
  3.  
  4.  
  5. Features
  6.  
  7. CMOS silicon gate technology
  8. Low Power (4ma/mhz)
  9. Software compatible with the R6502
  10. Single 5v power supply requirements
  11. Eight bit parallel processing
  12. Decimal and Binary aritmitic
  13. True indexing cabability
  14. Programable Stack Pointer
  15. Interupt Capability
  16. Non maskable interupt
  17. Direct Memory Access Capability (DMA)
  18. 4mhz operating speed
  19.  
  20.  
  21. Listing of R65C00 additional opcommands
  22.  
  23. BBR Branch on Bit Reset
  24. BBS Branch on Bit Set
  25. BRA Branch always
  26. PHX Push x register on stack
  27. PHY Push y register on stack
  28. PLX Pull x register from stack
  29. PLY pull y register from stack
  30. RMB reset memory bit
  31. SMB set memory bit
  32. STZ Store Zero
  33. TRB test and reset bits
  34. TSB test and set bits
  35.  
  36. Listing of old opcommands with new address modes
  37.  
  38. ADC add memory to accumulator with cary
  39. AND and memory with accumulator
  40. BIT test bits in memory with accumulatr
  41. CMP compare memory and accumulator
  42. DEC decrement memory by 1
  43. EOR exclusuve or memory with accumultr
  44. INC increment memory by 1
  45. JMP jump to a new location
  46. LDA load accumulator with memory
  47. ORA "or" memory with accumulator
  48. STA Store memory with accumulator
  49.  
  50.  
  51. OPCODE   Mnemonic  Address Bytes Cycles
  52.  
  53. 80       BRA       Relative 2      3
  54. DA       PHX       Implied  1      3
  55. 5A       PHY       Implied  1      3
  56. FA       PLX       Implied  1      4
  57. 7A       PLY       Implied  1      4
  58. 9C       STZ       Absolte  3      4
  59. 9E       STZ       AbsolutX 3      5
  60. 64       STZ       ZeroPage 2      5
  61. 74       STZ       ZeroPagX 2      4
  62. 1C       TRB       Absolute 3      6
  63. 14       TRB       ZeroPage 2      5
  64. 0C       TSB       Absolute 3      6
  65. 04       TSB       Zeropage 2      5
  66. 0F-7F    BBR       Zeropage 3      5
  67. 8F-FF    BBS       Zeropage 3      5
  68. 07-77    RMB       ZeroPage 2      5
  69. 87-F7    SMB       ZeroPage 2      5
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77. Hex codes for old opcodes with new address
  78.  
  79. Hex  Mnemonic  New address Bytes Cycles
  80. 72   ADC       Indirect     2      5
  81. 32   AND       Indirect     3      5
  82. 3C   BIT       Absolute,X   3      4
  83. 34   BIT       Zeropage,X   3      4
  84. 89   BIT       Immeadite    2      2
  85. D2   CMP       Indirect     2      5
  86. 3A   DEC       Accumulator  1      2
  87. 52   EOR       Indirect     2      5
  88. 1A   INC       Accumulator  1      2
  89. 7C   JMP       Absolute,X   3      6
  90. B2   LDA       Indirect     2      5
  91. 12   ORA       Indirect     2      5
  92. F2   SBC       Indirect     3      5
  93. 92   STA       Indirect     2      5
  94.  
  95.  
  96.  
  97. New Opcode effects on registers
  98.  
  99.  
  100. Opcode         Processor Status Code
  101. .              7 6 5 4 3 2 1 0
  102. .              n v . b d i z c
  103. bra            
  104. phx            
  105. phy
  106. plx            x           x
  107. ply            x           x
  108. stz            x           x
  109. trb                        x
  110. bbr            
  111. bbs            
  112. rmb            
  113. smb
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.